<template>
  <div class="wrapper">
    <div slot="item-text">分类</div>
    <img slot="item-img-active" src="~assets/img/universe-active.svg" alt="" />
  </div>
</template>

<script>
import BScroll from "better-scroll";

export default {
  name: "Category",
  data() {
    return {
      scroll: null,
    };
  },
  mounted() {
    this.scroll = new BScroll(document.querySelector(".wrapper"), {});
  },
};
</script>

<style scoped>
</style>